/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * AboutBox.java
 *
 * Created on 10-Jan-2012, 19:03:49
 */
package blackeagle.ems;

/**
 *
 * @author Martin
 */
public class AboutBox extends javax.swing.JDialog {

    /** Creates new form AboutBox */
    public AboutBox(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lblLogo = new javax.swing.JLabel();
        spText = new javax.swing.JScrollPane();
        taText = new javax.swing.JTextArea();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        lblLogo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/blackeagle/ems/resources/logo.png"))); // NOI18N
        lblLogo.setName("lblLogo"); // NOI18N

        spText.setName("spText"); // NOI18N

        taText.setColumns(20);
        taText.setEditable(false);
        taText.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        taText.setLineWrap(true);
        taText.setRows(5);
        taText.setText("The Black Eagle EMS (Employee Management System) is an application designed to help Black Eagle Games manage employees, games and projects among other things.\n\nBlackEagleEMS is an application developed by Martin Strömberg and Dan Hilmart.\n");
        taText.setWrapStyleWord(true);
        taText.setBorder(null);
        taText.setName("taText"); // NOI18N
        spText.setViewportView(taText);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(lblLogo)
            .addGroup(layout.createSequentialGroup()
                .addGap(10, 10, 10)
                .addComponent(spText, javax.swing.GroupLayout.DEFAULT_SIZE, 835, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(lblLogo)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(spText, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel lblLogo;
    private javax.swing.JScrollPane spText;
    private javax.swing.JTextArea taText;
    // End of variables declaration//GEN-END:variables
}
